/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.dusin.weijiwufang.dao;

import java.util.List;
import org.dusin.weijiwufang.bo.StatusBean;
import org.dusin.weijiwufang.bo.VisitorBean;

/**
 *
 * @author dusin
 */
public interface StatusDao {

    boolean doCreate(StatusBean bean);

    List<StatusBean> findAll();

    StatusBean findById(long id);
    

    /**
     * 根据visitor中信息修改数据库，创建时间不允许修改
     * @param visitor
     * @return 
     */
    public boolean doUpdate(StatusBean bean);
    
    public boolean doDeleteById(long id);
    
}
